package com.wmh.baseservice.admin.pojo.vo.menu;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 谢骏
 * @date 2023/7/2 16:11
 **/
@ApiModel("VO类基础字段")
@Data
@Accessors(chain = true)
public class BaseVO {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "权限标识")
    private String permissions;

    @ApiModelProperty(value = "菜单路由或接口路径")
    private String requestUrl;

    @ApiModelProperty(value = "菜单图标")
    private String menuIcon;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "对应的组件")
    private String component;

    @ApiModelProperty(value = "标记:  1-菜单   2-接口")
    private Integer flag;

    @ApiModelProperty(value = "排序,   值越大排越前")
    private Integer sort;

}
